
/*
 * Copyright (c) 2010 Sergey N Frolov
 * 
 * See LICENSE file
 */

#include "ngx_javascript.h"

/*
 * Simple callback to indicate that entry should be removed from hash table
 */
intN ngx_javascript_hash_remove_entry(JSHashEntry *hash, intN i, void *arg) {
	return HT_ENUMERATE_REMOVE;
}

/*
 * String comparator for hash table
 */
intN ngx_javascript_hash_strcmp(const void *v1, const void *v2) {
	return strcmp((const char *) v1, (const char *) v2) == 0;
}
